<?php

namespace apiend\modules\download\controllers;

use Yii;
use apiend\components\Controller;
use common\models\base\BaseExpress;
use common\components\office\Excel;

/**
 * 快递公司相关下载接口
 * 
 * @author emhome <emhome@163.com>
 * @since 2.0
 */
class LogisticsController extends Controller {

    /**
     * @inheritdoc
     */
    protected function verbs() {
        return [
            '*' => ['GET', 'POST'],
        ];
    }

    /**
     * 常用物流公司对照表
     * @inheritdoc
     */
    public function actionCommon() {
        $excel = new Excel();
        return $excel->export();
    }

}
